package com.fortune.dal.dao;

import com.fortune.dal.model.FinancialProduct;

import java.util.List;

public interface FinancialProductDAO {

    void insert(FinancialProduct financialProduct) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(FinancialProduct financialProduct) throws Exception;

    List<FinancialProduct> queryByModel(FinancialProduct financialProduct) throws Exception;

    FinancialProduct queryById(Integer id) throws Exception;

}
